-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Add NumPy ndarray shape term entry (#7824) #7885
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add NumPy ndarray shape term entry (#7824) #7885
Conversation
Added detailed explanations for parameters and return values of the shape attribute. Updated examples and FAQs for clarity.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good for a second review! 🚀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, @AayushJB03!
|
👋 @AayushJB03 🎉 Your contribution(s) can be seen here: https://www.codecademy.com/resources/docs/numpy/ndarray/shape Please note it may take a little while for changes to become visible. |
Description
This PR adds a new term entry for the
shapeattribute of NumPy's ndarray. The entry includes a comprehensive explanation of the shape attribute, syntax details, practical examples with 1D, 2D, and 3D arrays, a runnable codebyte example, and an FAQ section addressing common questions about array shapes.Issue Solved
Closes #7824
Type of Change
Checklist
All writings are my own.
My entry follows the Codecademy Docs style guide.
My changes generate no new warnings.
I have performed a self-review of my own writing and code.
I have checked my entry and corrected any misspellings.
I have made corresponding changes to the documentation if needed.
I have confirmed my changes are not being pushed from my forked
mainbranch.I have confirmed that I'm pushing from a new branch named after the changes I'm making.
I have linked any issues that are relevant to this PR in the
Issues Solvedsection.